package com.zheng.oss.dao.mapper;

import com.zheng.oss.dao.model.OssFile;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zheng.oss.dto.ShareFileDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author likun
 * @since 2018-05-08
 */
public interface OssFileMapper extends BaseMapper<OssFile> {
    List<Map<String, Object>> selectFilePage(OssFile file);

    Integer selectFilePageCount(OssFile file);

    List<Map<String, Object>> selectShareFilePage(ShareFileDto shareFileDto);

    Integer selectShareFilePageCount(ShareFileDto shareFileDto);

    List<OssFile> selectFileTree(OssFile file);
}
